python-docker: fix pyproject.toml issues
authorJavier Marcet <[email protected]>
Mon, 24 Jun 2024 19:29:56 +0000 (21:29 +0200)
committerTianling Shen <[email protected]>
Fri, 14 Nov 2025 09:33:22 +0000 (17:33 +0800)
commitf872c8970e994aeb7eef65804895676d48d31099
treee32236ea775eefaf83d05d0b86a96a267f16c2b0
parentac191fb6f47d9c5db615c105c8c73cf4eaf9ce6f
python-docker: fix pyproject.toml issues

* Getting build dependencies for wheel...

ERROR Missing dependencies:
   hatch-vcs

File "./staging_dir/hostpkg/lib/python3.11/site-packages/setuptools/config/pyprojecttoml.py", line 51, in validate
raise ValueError(f"{error}\n{summary}") from None
ValueError: invalid pyproject.toml config: `project.license`.
configuration error: `project.license` must be valid exactly by one definition (2 matches found):

- keys:
    'file': {type: string}
  required: ['file']
- keys:
    'text': {type: string}
  required: ['text']

Signed-off-by: Javier Marcet <[email protected]>
lang/python/python-docker/patches/pyproject.patch [new file with mode: 0644]